/**
 * @desc 平安考勤
 */
import fetch from 'utils/fetch';

//1. 原始数据分页查询
export function listRawData(schoolId, punch, devicePosition, attendanceCardNum, startTime, endTime, deviceType, page, rows) {
    const data = {
        schoolId,
        punch,
        devicePosition,
        attendanceCardNum,
        startTime,
        endTime,
        deviceType,
        page,
        rows
    }
    return fetch({
        url: '/rawdata/listRawData',
        method: 'post',
        data
    });
}

//设备定位下拉
export function listDevice() {
    // const data = {
    //     schoolId,
    //     devicePosition
    // }
    return fetch({
        url: '/rawdata/listDevice',
        method: 'post'
            // data
    })
}